package com.topisv.tms.rest.qimen.qmentity.request.goodsinfo;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import org.hibernate.validator.constraints.NotBlank;

import com.topisv.tms.tools.typeadapter.JaxbDateAdapter;

@XmlAccessorType(XmlAccessType.FIELD)
public class SingleGoodsInfoItem {
    
    @NotBlank
	@XmlElement(name = "itemCode")
	private String itemCode;
	@XmlElement(name = "itemId")
	private String itemId;
    
    @NotBlank
	@XmlElement(name = "itemName")
	private String itemName;
	@XmlElement(name = "shortName")
	private String shortName;
	@XmlElement(name = "englishName")
	private String englishName;
	
	@NotBlank
	@XmlElement(name = "barCode")
	private String barCode;
	@XmlElement(name = "skuProperty")
	private String skuProperty;
	@XmlElement(name = "stockUnit")
	private String stockUnit;
	@XmlElement(name = "length")
	private String length;
	@XmlElement(name = "width")
	private String width;
	@XmlElement(name = "height")
	private String height;
	@XmlElement(name = "volume")
	private String volume;
	@XmlElement(name = "grossWeight")
	private String grossWeight;
	@XmlElement(name = "netWeight")
	private String netWeight;
	@XmlElement(name = "color")
	private String color;
	@XmlElement(name = "size")
	private String size;
	@XmlElement(name = "title")
	private String title;
	@XmlElement(name = "categoryId")
	private String categoryId;
	@XmlElement(name = "categoryName")
	private String categoryName;
	@XmlElement(name = "pricingCategory")
	private Integer pricingCategory;
	@XmlElement(name = "safetyStock")
	private Integer safetyStock;
	
	@NotBlank
	@XmlElement(name = "itemType")
	private String itemType;
	@XmlElement(name = "tagPrice")
	private String tagPrice;
	@XmlElement(name = "retailPrice")
	private String retailPrice;
	@XmlElement(name = "costPrice")
	private String costPrice;
	@XmlElement(name = "purchasePrice")
	private String purchasePrice;
	@XmlElement(name = "seasonCode")
	private String seasonCode;
	@XmlElement(name = "seasonName")
	private String seasonName;
	@XmlElement(name = "brandCode")
	private String brandCode;
	@XmlElement(name = "brandName")
	private String brandName;
	@XmlElement(name = "isSNMgmt")
	private String isSNMgmt;
	@XmlElement(name = "productDate")
	private String productDate;
	@XmlElement(name = "expireDate")
	private String expireDate;
	@XmlElement(name = "isShelfLifeMgmt")
	private String isShelfLifeMgmt;
	@XmlElement(name = "shelfLife")
	private Integer shelfLife;
	@XmlElement(name = "isBatchMgmt")
	private String isBatchMgmt;
	@XmlElement(name = "batchCode")
	private String batchCode;
	@XmlElement(name = "batchRemark")
	private String batchRemark;
	@XmlElement(name = "packCode")
	private String packCode;
	@XmlElement(name = "pcs")
	private String pcs;
	@XmlElement(name = "originAddress")
	private String originAddress;
	@XmlElement(name = "approvalNumber")
	private String approvalNumber;
	@XmlElement(name = "isFragile")
	private String isFragile;
	@XmlElement(name = "isHazardous")
	private String isHazardous;
	@XmlElement(name = "remark")
	private String remark;
	@XmlElement(name = "createTime")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date createTime;
	@XmlElement(name = "updateTime")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date updateTime;
	@XmlElement(name = "isValid")
	private String isValid;
	@XmlElement(name = "rejectLifecycle")
	private Integer rejectLifecycle;
	@XmlElement(name = "lockupLifecycle")
	private Integer lockupLifecycle;
	@XmlElement(name = "adventLifecycle")
	private Integer adventLifecycle;

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getBarCode() {
		return barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}

	public String getSkuProperty() {
		return skuProperty;
	}

	public void setSkuProperty(String skuProperty) {
		this.skuProperty = skuProperty;
	}

	public String getStockUnit() {
		return stockUnit;
	}

	public void setStockUnit(String stockUnit) {
		this.stockUnit = stockUnit;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

	public String getGrossWeight() {
		return grossWeight;
	}

	public void setGrossWeight(String grossWeight) {
		this.grossWeight = grossWeight;
	}

	public String getNetWeight() {
		return netWeight;
	}

	public void setNetWeight(String netWeight) {
		this.netWeight = netWeight;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Integer getSafetyStock() {
		return safetyStock;
	}

	public void setSafetyStock(Integer safetyStock) {
		this.safetyStock = safetyStock;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public String getTagPrice() {
		return tagPrice;
	}

	public void setTagPrice(String tagPrice) {
		this.tagPrice = tagPrice;
	}

	public String getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(String retailPrice) {
		this.retailPrice = retailPrice;
	}

	public String getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(String costPrice) {
		this.costPrice = costPrice;
	}

	public String getPurchasePrice() {
		return purchasePrice;
	}

	public void setPurchasePrice(String purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public String getSeasonCode() {
		return seasonCode;
	}

	public void setSeasonCode(String seasonCode) {
		this.seasonCode = seasonCode;
	}

	public String getSeasonName() {
		return seasonName;
	}

	public void setSeasonName(String seasonName) {
		this.seasonName = seasonName;
	}

	public String getBrandCode() {
		return brandCode;
	}

	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getIsSNMgmt() {
		return isSNMgmt;
	}

	public void setIsSNMgmt(String isSNMgmt) {
		this.isSNMgmt = isSNMgmt;
	}

	public String getProductDate() {
		return productDate;
	}

	public void setProductDate(String productDate) {
		this.productDate = productDate;
	}

	public String getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(String expireDate) {
		this.expireDate = expireDate;
	}

	public String getIsShelfLifeMgmt() {
		return isShelfLifeMgmt;
	}

	public void setIsShelfLifeMgmt(String isShelfLifeMgmt) {
		this.isShelfLifeMgmt = isShelfLifeMgmt;
	}

	public Integer getShelfLife() {
		return shelfLife;
	}

	public void setShelfLife(Integer shelfLife) {
		this.shelfLife = shelfLife;
	}

	public String getIsBatchMgmt() {
		return isBatchMgmt;
	}

	public void setIsBatchMgmt(String isBatchMgmt) {
		this.isBatchMgmt = isBatchMgmt;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getBatchRemark() {
		return batchRemark;
	}

	public void setBatchRemark(String batchRemark) {
		this.batchRemark = batchRemark;
	}

	public String getPackCode() {
		return packCode;
	}

	public void setPackCode(String packCode) {
		this.packCode = packCode;
	}

	public String getPcs() {
		return pcs;
	}

	public void setPcs(String pcs) {
		this.pcs = pcs;
	}

	public String getOriginAddress() {
		return originAddress;
	}

	public void setOriginAddress(String originAddress) {
		this.originAddress = originAddress;
	}

	public String getApprovalNumber() {
		return approvalNumber;
	}

	public void setApprovalNumber(String approvalNumber) {
		this.approvalNumber = approvalNumber;
	}

	public String getIsFragile() {
		return isFragile;
	}

	public void setIsFragile(String isFragile) {
		this.isFragile = isFragile;
	}

	public String getIsHazardous() {
		return isHazardous;
	}

	public void setIsHazardous(String isHazardous) {
		this.isHazardous = isHazardous;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	public Integer getRejectLifecycle() {
		return rejectLifecycle;
	}

	public void setRejectLifecycle(Integer rejectLifecycle) {
		this.rejectLifecycle = rejectLifecycle;
	}

	public Integer getLockupLifecycle() {
		return lockupLifecycle;
	}

	public void setLockupLifecycle(Integer lockupLifecycle) {
		this.lockupLifecycle = lockupLifecycle;
	}

	public Integer getAdventLifecycle() {
		return adventLifecycle;
	}

	public void setAdventLifecycle(Integer adventLifecycle) {
		this.adventLifecycle = adventLifecycle;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public Integer getPricingCategory() {
		return pricingCategory;
	}

	public void setPricingCategory(Integer pricingCategory) {
		this.pricingCategory = pricingCategory;
	}

}
